<?php

/*
 *
 *function to send user email
 */

function mailUser($userEmailaddress){
$to      = $userEmailaddress;
$subject = 'Freecycle Activation code';
$message = 'hello new user please use this code on the' . "\r\n" .
'account activation page to start posting items to be recycled' . "\r\n" .
'and to recycle item you might find useful from other members';
$from = 'abscoral@live.co.uk';// should change to include a header for the 
//email

mail($to, $subject, $message, $from);
}
?>
